2014-05-21 - 6474 - BreakFix - SNC PO Confirmation IDOC Changes #SNCProject #ABAPSUPPORT #ABAPSNC #abapidoc #abapexit
BREAKFIX
6474 - SNC PO Confirmations Failing due to wrong Schedule Lines and Quantity
Purpose
Vendor Confirmations of PO's ( Incoming IDOCS(AFS/ORDRSP) ) to ECC from SNC system are failing because of Incorrect Schedule lines, Grid Values and Quantities.
Admin Info
Purpose
|
SNC PO Confirmations failing due to wrong Schedule Lines and Quantity
|
Requested By
|
Rahul
|
Spec Created By
|
Venkat
|
Spec Created Date
|
05/21/2014
|
Spec QA by
|
Venkat
|
Objects
|
EXIT_SAPLEINM_007,
ZXM06U19
|
Document Status
|
Complete
|
Spec Changes
[List the changes made to program after the approval of the original requirement along with the Date on which the change request was received and the name of the initiator]
Functional Requirement
Purpose/WHY:
The ORDRSP IDOC Brings in the Vendor Confirmations from the SNC System to ECC to update confirmations on PO. The IDOCs are not processed (Failed) due to the Invalid Data in it.
Invalid data includes: 1. Quantity 2. Schedule Line 3. Grid. Some times IDOC Brings in wrong data for any of these, due to which the IDOC gets failed in ECC.
This IDOC must get the correct values form the SNC System. which is not happening. This issue was initially reported to SAP for solution and
SAP ruled out solution in SNC system as SNC is not Supported for AFS System grid Level confirmations would not have updated properly always.
So it is suggested by SAP to use an User Exit and write the Logic so as even if the Values are wrong in IDOC the confirmations should be updated in PO.
Going with the suggestion from SAP New Era decided to go with User Exit and asked BMS to investigate and identify the User Exit and do the necessary
changes to update the PO Confirmations successfully.
In Scope:
Inbound ORDRSP IDOC coming from SNC updates PO Confirmations at Schedule Line in ECC
Out of Scope:
Similar Business Processes and subsequent effects for ORDRSP IDOC are not covered in the scope.
Solution Summary
[Discuss this section with Requester and get approval prior to beginning work]
Investigated and Identified the User Exit as "EXIT_SAPLEINM_007" to add the below logic.
Change the Schedule Line and Quantity in IDOC based on the PO Number, PO Line Item and Grid Value by changing the USER Exit.
Test Plan
[List test scenarios/cases to be executed here]
Test ID
|
Test Scenario
|
Expected Results
|
001
|
Update the Confirmation from SNC System with correct schedule line Number and Quantity
|
Confirmations must be correctly updated
|
002
|
Update the Confirmations from SNC System with wrong Schedule Line Number or Quantity
|
Confirmations must be correctly updated
|
Solution Details
User Exit :"EXIT_SAPLEINM_007"
Include : ZXM06U19
The Following changes are needed to be done in the User Exit.
- Pick PO Number, PO Line Item and Grid Value from IDOC
- Fetch correct Schedule Line Number(EKET-ETENR) and Quantity(EKET-MENGE) from EKET( Scheduling Agreement Schedule Lines ) Table based on PO Number , PO Line Item and Grid Value.
- Update the Idoc with Schedule Line Number and Grid Value from above Step.
This changes should be applicable only to SNC ORDRSP IDOCS.
Issues
[List Issues / Bugs identified in configuration or development]